package cn.itsource.mapper;

import cn.itsource.domain.TEmployee;
import cn.itsource.query.EmployeeQuery;

import java.util.List;

/**
 * Effect:
 * date: 2022/1/13 19:22
 *
 * @author wangyu
 * @since JDK 1.8
 */
public interface EmployeeMapper {
    List<TEmployee> finAll();

    List<TEmployee> findEmpList();


    List<TEmployee> findByQuery(EmployeeQuery employeeQuery);

    void del(Long id);

    void addEmployee(TEmployee employee);

    void uptEmployee(TEmployee employee);

    TEmployee findEmpById(Long id);

}
